package com.yhb.dao;

import com.yhb.model.Good;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodMapper {
    List<Good> getGoodsOfType(@Param("type")Good.Type type);

    Good goodById(@Param("goodId")String goodId);
}
